
package jp.ize.iwp.avm1.events;

class Event
{
	// {{{ properties

	public static var COMPLETE:String = "complete";

	public var bubbles(default,null) : Bool;
	public var cancelable(default,null) : Bool;
	public var currentTarget(default,null) : Dynamic;
	public var target : Dynamic;
	public var type(default,null) : String;
	public var message:String;

	// }}}
	// {{{ public function new( type : String, ?bubbles : Bool, ?cancelable : Bool, ?msg:String ) : Void

	public function new( type : String, ?bubbles : Bool, ?cancelable : Bool, ?msg:String ) : Void
	{
		this.type = type;
		this.bubbles = bubbles;
		this.cancelable = cancelable;
		this.message = msg;
	}

	// }}}
	// {{{ public function isDefaultPrevented() : Bool

	public function isDefaultPrevented() : Bool
	{
		return false;
	}

	// }}}
	// {{{ public function preventDefault() : Void

	public function preventDefault() : Void
	{
	}

	// }}}
	// {{{ public function stopImmediatePropagation() : Void

	public function stopImmediatePropagation() : Void
	{
	}

	// }}}
	// {{{ public function stopPropagation() : Void

	public function stopPropagation() : Void
	{
	}

	// }}}
	// {{{ public function toString() : String

	public function toString() : String
	{
		return "";
	}

	// }}}
}
